!function(t,a,e){"use strict";e.behaviors.np_tables={attach:function(){t(a("div",".text-formatted")).each((function(){const a=t(this),e=a.find("table:not(.tablesaw)"),n=a.find("table.tablesaw-swipe-cellpersist");function i(){e.each((function(){const e=t(this);a.width()')})),n.each((function(){t(this).find("thead tr:first-of-type th:first-of-type").addClass("tablesaw-swipe-cellpersist").attr("data-tablesaw-priority","persist")})),window.onload=function(){let a=t(".tablesaw-mode-swipe .tablesaw-nav-btn");if(a.length>0){a.attr("role","button");let e=t(".table-nav-translation-next-col").data("tableNavTranslationNextCol"),n=t(".table-nav-translation-prev-col").data("tableNavTranslationPrevCol");t(".tablesaw-mode-swipe .tablesaw-nav-btn.left").text(n),t(".tablesaw-mode-swipe .tablesaw-nav-btn.right").text(e)}},i(),np.resize(i)}))}}}(jQuery,once,Drupal);